package com.yogee.topseller.fragment.product.model.impl;

import com.yogee.topseller.fragment.product.model.IproductModel;
import com.yogee.topseller.http.HttpManager;

import rx.Observable;

/**
 * Created by Administrator on 2017/6/28.
 */

public class ProductModel implements IproductModel {
    @Override
    public Observable loadProductsList(String userId,String kindId,int toast, int count,int sort,int type) {
        return HttpManager.getInstance().loadProductList(userId,kindId,toast,count,sort,type);
    }

    @Override
    public Observable loadProductsTypeList() {
        return HttpManager.getInstance().loadProductTypeList();
    }
}
